import { HttpRequestService as DefaultHttpRequestService } from 'my-web-core/http';

import { showError } from '@/shared/message/message-utils';

export class HttpRequestService extends DefaultHttpRequestService {
  protected override showMessage(msg: string): void {
    showError(msg);
  }
}

export const httpRequestService = new HttpRequestService();
